package com.jiesone.logger.distributecleaning.entity;
/*
 *@ClassName TargetData
 *@Description   目标数据存储表
 *@Author tangsixiang@163.com
 *@Date 2022/1/14 20:38
 *@Version 1.0
 */

import java.io.Serializable;
import java.util.Date;

public class TargetData  implements Serializable {

private String targetId;
private String targetIndex;

private String  sourceId;
private int  targetShare;
private int targetRepl;
private String   targetDesc;
    /** N 不区分  H 小时 D 天 M 月Y 年  格式创建索引
     *
     */
    private  String targetDate;
 private Date createTime;


    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getTargetIndex() {
        return targetIndex;
    }

    public void setTargetIndex(String targetIndex) {
        this.targetIndex = targetIndex;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public int getTargetShare() {
        return targetShare;
    }

    public void setTargetShare(int targetShare) {
        this.targetShare = targetShare;
    }

    public int getTargetRepl() {
        return targetRepl;
    }

    public void setTargetRepl(int targetRepl) {
        this.targetRepl = targetRepl;
    }

    public String getTargetDesc() {
        return targetDesc;
    }

    public void setTargetDesc(String targetDesc) {
        this.targetDesc = targetDesc;
    }

    public String getTargetDate() {
        return targetDate;
    }

    public void setTargetDate(String targetDate) {
        this.targetDate = targetDate;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    @Override
    public String toString() {
        return "TargetData{" +
                "targetId='" + targetId + '\'' +
                ", targetIndex='" + targetIndex + '\'' +
                ", sourceId='" + sourceId + '\'' +
                ", targetShare=" + targetShare +
                ", targetRepl=" + targetRepl +
                ", targetDesc=" + targetDesc +
                ", targetDate='" + targetDate + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
